package com.dc.dao.special;

import com.dc.entity.ShipRepairEntity;
import com.dc.entity.special.WorkflowSpecial1ShipSandEntity;
import com.dc.entity.special.WorkflowSpecial1ShipWeldEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface WorkflowSpecial1ShipWeldDao extends JpaRepository<WorkflowSpecial1ShipWeldEntity, Long>, JpaSpecificationExecutor<WorkflowSpecial1ShipWeldEntity> {

    Page<WorkflowSpecial1ShipWeldEntity> findByShipRepairEntity(ShipRepairEntity shipRepair, Pageable pageable);
}
